package com.wu.zr

import android.content.Context
import android.graphics.Interpolator
import android.view.animation.AccelerateInterpolator
import android.widget.Scroller


/**
 * @author wkq
 *
 * @date 2021年08月17日 14:55
 *
 *@des
 *
 */

class FixedSpeedScroller(
    mContext: Context,
    accelerateInterpolator: AccelerateInterpolator
) : Scroller(mContext) {


    private var mDuration = 1500

    fun setmDuration(time: Int) {
        mDuration = time
    }

    fun getmDuration(): Int {
        return mDuration
    }

}